when to use seal method in javascript